package com.stylefeng.guns.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wengys123
 * @since 2018-02-03
 */
@TableName("t_initial_order")
public class InitialOrder extends Model<InitialOrder> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 上游发货方
     */
    @TableField("send_dept_name")
    private String sendDeptName;
    /**
     * 物品名称
     */
    @TableField("goods_name")
    private String goodsName;
    /**
     * 件数
     */
    @TableField("goods_piece")
    private String goodsPiece;
    /**
     * 重量
     */
    @TableField("goods_weight")
    private String goodsWeight;
    /**
     * 体积
     */
    @TableField("goods_volume")
    private String goodsVolume;
    /**
     * 提付款
     */
    private String payment;
    /**
     * 代收货款 -如果这个有值 就有代还货款
     */
    private String collection;
    /**
     * 待还货款
     */
    private String still;
    /**
     * 中转商户ID
     */
    @TableField("mid_dept_id")
    private Integer midDeptId;
    /**
     * 返款
     */
    @TableField("back_amount")
    private String backAmount;
    /**
     * 需要转换成数字 已清账/待结算 0/1，有返款则必填 返款结算
     */
    private String settlement;
    /**
     * 收货人
     */
    private String consignee;
    /**
     * 收货电话
     */
    @TableField("receiving_phone")
    private String receivingPhone;

    /**
     * 自提/配送 0/1
     */
    private String mode;
    /**
     * 是1，空，否0
     */

    private String notice;
    /**
     * 回单要求
     */
    private String receipt;

    private Date createtime;
    /**
     * 创建人
     */
    @TableField("user_id")
    private String userId;
    /**
     * 编号
     */
    @TableField("order_num")
    private String orderNum;
    /**
     * 是否正常 1 正常 0 异常
     */
    @TableField("is_normal")
    private String isNormal;
    /**
     * 是否中转 0 否 1 是
     */
    @TableField("is_transfer")
    private String isTransfer;
    /**
     * 批次
     */
    @TableField("batch_no")
    private String batchNo;
    /**
     * 网点ID
     */
    @TableField("dot_id")
    private Integer dotId;
    /**
     * 省份
     */
    @TableField("province_code")
    private Integer provinceCode;
    /**
     * 城市
     */

    @TableField("city_code")
    private Integer cityCode;
    /**
     * 区县
     */

    @TableField("area_code")
    private Integer areaCode;
    @TableField("dept_id")
    private Integer deptId;
    private String result;
    /**
     * 省份
     */
    private String province;
    /**
     * 城市
     */
    private String city;
    /**
     * 区域
     */
    private String area;
    /**
     * 收货地址
     */
    @TableField("receiving_address")
    private String receivingAddress;


    private String original_num;

    private String scene_money;

    private String order_date;

    private String vehicle_no;

    private String driver_name;
    private String driver_id;

    private Date arrive_date;

    private String  attachment_name;


    private String transport_money;


    private String carry_money;

    private String extra_money;

    public String getExtra_money() {
        return extra_money;
    }

    public void setExtra_money(String extra_money) {
        this.extra_money = extra_money;
    }

    public String getAttachment_name() {
        return attachment_name;
    }

    public void setAttachment_name(String attachment_name) {
        this.attachment_name = attachment_name;
    }

    public String getVehicle_no() {
        return vehicle_no;
    }

    public void setVehicle_no(String vehicle_no) {
        this.vehicle_no = vehicle_no;
    }

    public String getDriver_name() {
        return driver_name;
    }

    public void setDriver_name(String driver_name) {
        this.driver_name = driver_name;
    }

    public Date getArrive_date() {
        return arrive_date;
    }

    public void setArrive_date(Date arrive_date) {
        this.arrive_date = arrive_date;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSendDeptName() {
        return sendDeptName;
    }

    public void setSendDeptName(String sendDeptName) {
        this.sendDeptName = sendDeptName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsPiece() {
        return goodsPiece;
    }

    public void setGoodsPiece(String goodsPiece) {
        this.goodsPiece = goodsPiece;
    }

    public String getGoodsWeight() {
        return goodsWeight;
    }

    public void setGoodsWeight(String goodsWeight) {
        this.goodsWeight = goodsWeight;
    }

    public String getGoodsVolume() {
        return goodsVolume;
    }

    public void setGoodsVolume(String goodsVolume) {
        this.goodsVolume = goodsVolume;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public String getCollection() {
        return collection;
    }

    public void setCollection(String collection) {
        this.collection = collection;
    }

    public String getStill() {
        return still;
    }

    public void setStill(String still) {
        this.still = still;
    }

    public String getBackAmount() {
        return backAmount;
    }

    public void setBackAmount(String backAmount) {
        this.backAmount = backAmount;
    }

    public String getSettlement() {
        return settlement;
    }

    public void setSettlement(String settlement) {
        this.settlement = settlement;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getReceivingPhone() {
        return receivingPhone;
    }

    public void setReceivingPhone(String receivingPhone) {
        this.receivingPhone = receivingPhone;
    }

    public String getReceivingAddress() {
        return receivingAddress;
    }

    public void setReceivingAddress(String receivingAddress) {
        this.receivingAddress = receivingAddress;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    public String getReceipt() {
        return receipt;
    }

    public void setReceipt(String receipt) {
        this.receipt = receipt;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getIsNormal() {
        return isNormal;
    }

    public void setIsNormal(String isNormal) {
        this.isNormal = isNormal;
    }

    public String getIsTransfer() {
        return isTransfer;
    }

    public void setIsTransfer(String isTransfer) {
        this.isTransfer = isTransfer;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public Integer getDotId() {
        return dotId;
    }

    public void setDotId(Integer dotId) {
        this.dotId = dotId;
    }

    public Integer getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(Integer provinceCode) {
        this.provinceCode = provinceCode;
    }

    public Integer getCityCode() {
        return cityCode;
    }

    public void setCityCode(Integer cityCode) {
        this.cityCode = cityCode;
    }

    public Integer getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(Integer areaCode) {
        this.areaCode = areaCode;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getOriginal_num() {
        return original_num;
    }

    public void setOriginal_num(String original_num) {
        this.original_num = original_num;
    }

    public String getScene_money() {
        return scene_money;
    }

    public void setScene_money(String scene_money) {
        this.scene_money = scene_money;
    }

    public String getOrder_date() {
        return order_date;
    }

    public void setOrder_date(String order_date) {
        this.order_date = order_date;
    }

    public String getTransport_money() {
        return transport_money;
    }

    public void setTransport_money(String transport_money) {
        this.transport_money = transport_money;
    }

    public String getCarry_money() {
        return carry_money;
    }

    public void setCarry_money(String carry_money) {
        this.carry_money = carry_money;
    }

    public String getDriver_id() {
        return driver_id;
    }

    public void setDriver_id(String driver_id) {
        this.driver_id = driver_id;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "InitialOrder{" +
        "id=" + id +
        ", sendDeptName=" + sendDeptName +
        ", goodsName=" + goodsName +
        ", goodsPiece=" + goodsPiece +
        ", goodsWeight=" + goodsWeight +
        ", goodsVolume=" + goodsVolume +
        ", payment=" + payment +
        ", collection=" + collection +
        ", still=" + still +
        ", backAmount=" + backAmount +
        ", settlement=" + settlement +
        ", consignee=" + consignee +
        ", receivingPhone=" + receivingPhone +
        ", receivingAddress=" + receivingAddress +
        ", mode=" + mode +
        ", notice=" + notice +
        ", receipt=" + receipt +
        ", createtime=" + createtime +
        ", userId=" + userId +
        ", orderNum=" + orderNum +
        ", isNormal=" + isNormal +
        ", isTransfer=" + isTransfer +
        ", batchNo=" + batchNo +
        ", dotId=" + dotId +
        ", provinceCode=" + provinceCode +
        ", cityCode=" + cityCode +
        ", areaCode=" + areaCode +
        ", deptId=" + deptId +
        ", result=" + result +
        ", province=" + province +
        ", city=" + city +
        ", area=" + area +
        "}";
    }
}
